package com.cloudkinto.service.stock.vo.record;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class ProductStockExportVo {
    @ApiModelProperty("SKU编码")
    @Excel(name = "SKU编码",width = 20)
    private String commoditySku;

    @ApiModelProperty("SKU名称")
    @Excel(name = "SKU名称",width = 20)
    private String productName;

    @ApiModelProperty("仓库名称")
    @Excel(name = "仓库名称")
    private String storageName;

    @ApiModelProperty("库存类型")
    @Excel(name = "库存类型", replace = {"出库_1","入库_2"} )
    private String type;

    @ApiModelProperty("在库库存")
    @Excel(name = "在库库存", type = 10)
    private int quantity;

    @ApiModelProperty("库龄(天)")
    @Excel(name = "库龄(天)")
    private Integer days;

    @ApiModelProperty("上架单号")
    @Excel(name = "入库单号",width = 20)
    private String orderInputNumber;

    @ApiModelProperty("上架时间")
    @Excel(name = "上架时间", exportFormat = "yyyy-MM-dd HH:mm:ss",width = 20)
    private Date inputTime;

}
